package com.marry.JMail;

import java.util.ArrayList;

/**
 * @author ml
 * @create 2017-06-20--17:37
 */
public class MailTest {
    public static void main(String[] args) throws Exception {
        new MailSender()
                .title("测试邮件发送")
                .content("哈哈哈 别激动 我是你林哥")
                .contentType(MailContentTypeEnum.TEXT.getValue())
                .targets(new ArrayList<String>(){{
                    add("1181305449@qq.com");
                }}).send();
    }
}
